package tech.aistar.controller.common;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: lya
 * @Description: 本类的作用描述:
 * @CreateDate: 2019/10/16
 * @Version: 1.0
 */
@Controller
@RequestMapping("/index")
public class IndexController {
    @GetMapping("/indexView")
    public String indexView(){
        return "index";
    }

    @GetMapping("/aboutView")
    public String aboutView(){
        return "/common/aboutMe";
    }
    @GetMapping("/tradeView")
    public String tradeView(){
        return "/common/trade";
    }
}
